package cn.com.hbhgkj.bussiness;

public enum UserType {
	REVIEWER(1), APPLICANT(2);

	public static boolean isReviewer(int value) {
		return UserType.REVIEWER.getValue() == value;
	}

	public static boolean isApplicant(int value) {
		return UserType.APPLICANT.getValue() == value;
	}

	private int value;

	UserType(int value) {
		this.value = value;
	}

	public int getValue() {
		return value;
	}

	public void setValue(Integer value) {
		this.value = value;
	}
}
